package com.service.component.common.enumerate;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
/**
 * @author ：Calvin
 * @date ：Created in 2021/7/16 14:35
 * @description：操作日志类型枚举
 * @modified By：
 * @version: 1.0.0$
 */
public enum OperateTypeEnum {
    ADD(1, "INSERT"),
    REMOVE(2, "DELETE"),
    MODIFY(2, "UPDATE"),
    QUERY(1, "SELECT");

    private int operateCode;
    private String operateType;

    private OperateTypeEnum(int operateCode, String operateType) {
        this.operateCode = operateCode;
        this.operateType = operateType;
    }
}
